package com.hobson.design.factory.method;

/**
 * 客户端
 *
 * @author: haibin.tang
 * @date: 2020/7/29
 */
public class FactoryMethodMain {

    public static void main(String[] args) {
        Log logger = new ConsoleLogFactory().getLogger();
        logger.debug("this is log message...");

        logger = new FileLogFactory().getLogger();
        logger.debug("this is log message...");
    }
}
